const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  menu: state => state.user.menu,
  leftMenu: state => state.user.leftMenu,
  activeName: state => state.user.activeName,
  permissions: state => state.user.permissions,
  user: state => state.user.user,
  roles: state => state.user.roles
}
export default getters
